/**
 * @projectName: com.xiayuanxing.designPattern
 * @className: Chocolate
 * @author: xiayuanxing
 * @description: 具体的Decorator，这里就是调味品
 * @date: 2021/12/28 11:50
 * @version: 1.0
 */
public class Chocolate extends Decorator{


    public Chocolate(Drink obj) {
        super(obj);
        setDes("巧克力");
        setPrice(3.0f);
    }
}
